package com.ruoyi.costumeShop.mapper;

import java.util.List;
import com.ruoyi.costumeShop.domain.CostumeSaleOrderDetail;
import org.apache.ibatis.annotations.Mapper;

/**
 * saleOrderDetailMapper接口
 * 
 * @author ruoyi
 * @date 2022-04-05
 */
@Mapper
public interface CostumeSaleOrderDetailMapper 
{
    /**
     * 查询saleOrderDetail
     * 
     * @param saleOrderDetailId saleOrderDetail主键
     * @return saleOrderDetail
     */
    public CostumeSaleOrderDetail selectCostumeSaleOrderDetailBySaleOrderDetailId(Long saleOrderDetailId);

    /**
     * 查询saleOrderDetail列表
     * 
     * @param costumeSaleOrderDetail saleOrderDetail
     * @return saleOrderDetail集合
     */
    public List<CostumeSaleOrderDetail> selectCostumeSaleOrderDetailList(CostumeSaleOrderDetail costumeSaleOrderDetail);

    /**
     * 新增saleOrderDetail
     * 
     * @param costumeSaleOrderDetail saleOrderDetail
     * @return 结果
     */
    public int insertCostumeSaleOrderDetail(CostumeSaleOrderDetail costumeSaleOrderDetail);

    /**
     * 修改saleOrderDetail
     * 
     * @param costumeSaleOrderDetail saleOrderDetail
     * @return 结果
     */
    public int updateCostumeSaleOrderDetail(CostumeSaleOrderDetail costumeSaleOrderDetail);

    /**
     * 删除saleOrderDetail
     * 
     * @param saleOrderDetailId saleOrderDetail主键
     * @return 结果
     */
    public int deleteCostumeSaleOrderDetailBySaleOrderDetailId(Long saleOrderDetailId);

    /**
     * 批量删除saleOrderDetail
     * 
     * @param saleOrderDetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCostumeSaleOrderDetailBySaleOrderDetailIds(Long[] saleOrderDetailIds);
}
